<template>
  <div class="confirm-invited">
    <div class="confirm-invited-wrap">
      <div class="confirm-top">
        <img src="@/assets/images/success-icon.png" alt="">
        <p>应邀成功</p>
      </div>
      <div class="click-replay" @click="linkTo('feedback')" >点击反馈应聘结果</div>
      <div class="safe-icon">安全提示</div>
      <div class="safe-tips">
        数据学徒实习平台严禁用人单位做出任何损害求职者合法权益的违法违规行为，包括但不限于扣押求职者证件、收取求职者财物、向求职者集资、让求职者入股、诱导求职者异地入职、异地参与培训等，您发现此类行为，请立即举报
      </div>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {}
  },
  created() {},
  methods: {
    linkTo(routeName, id) {
      if (id) {
        localStorage.setItem("currentJobId", id);
        this.$router.push({ name: routeName, params: { id: id } });
      } else {
        this.$router.push({ name: routeName });
      }
    }
  }
}
</script>

<style lang="less" scoped>
@media (max-width: 768px) {
  .confirm-invited-wrap {
    padding: 0 0.1rem
  }
  .confirm-top {
    text-align: center;
    padding: 0.85rem 0 1.04rem;
    img {
      width: 1rem;
      height: 1rem;
    }
    p {
      margin-top: 0.18rem;
      height: 0.28rem;
      font-size: 0.2rem;
      font-weight: 500;
      color: #37383D;
      line-height: 0.28rem;
    }
  }
  .click-replay {
    display: flex;
    background: #3D6CB0;
    border-radius: 0.05rem;
    margin: 0 0.05rem;
    line-height: 0.55rem;
    font-size: 0.18rem;
    font-weight: 500;
    color: #FFFFFF;
    justify-content: center;
  }
  .safe-icon {
    width: 100%;
    text-align: center;
    font-size: 0.18rem;
    font-weight: 500;
    color: #FC9C21;
    line-height: 0.25rem;
    padding: 1rem 0 0.1rem;
  }
  .safe-tips {
    font-size: 0.14rem;
    color: #C4C4C4;
    line-height: 0.2rem;
  }
}
</style>